package com.itheima.service;

import java.sql.SQLException;

import com.itheima.dao.UserDao;

public class UserService {

	public int getFlag(String username) throws SQLException {
		UserDao ud = new UserDao();
		return ud.getFlag(username);
	}

}
